<!DOCTYPE html>
<html>
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0,user-scalable=no"/>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>爱贝儿医</title>
    <link rel="stylesheet" href="business/style/common.css?<?=版本?>">
    <link rel="stylesheet" href="http://demo.open.weixin.qq.com/jssdk/css/style.css?ts=1420774989">
    <script src="//res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
    <script src="business/js/jquery.js"></script>
    <script src="app/js/common.js"></script>
    <style>
    	body{line-height: 1.3;}
    	h1{line-height:1.6em;padding-left: 0;}
    </style>
</head>
<body>

<div class="header" style="z-index:1000"><div class="header_logo"><img src="<?=G_SITE_CDN?>/business/style/logo_small.png" /><h1>视频列表</h1></div></div>
<?php if ($res):?>
<div class="vedio_list">
<ul>
<?php foreach($res as $k => $v): ?>
  <?php
    if (substr($v['url'], 0, 7) == 'http://') {
        $link = $v['url'];
    } else {
        $link = urlencode(Tools::oss_url($v['url']));
    }
  ?>
    <li>
        <a href="<?=$quanliao_shipin_url?>&video_url=<?=$link?>&groupId=<?=$v['群id']?>">
            <dl>
                <dt class="vedio_list_dt">
                <div class="dt_img">
                    <img src="<?=G_SITE_CDN?>/<?= $v['图片log'] ?>" class="dt_avatar" />
                    <div class="dt_bg"></div>
                    <div class="dt_time"><?=$v['播放时长']?></div>
                </div>
                </dt>
                <dd class="vedio_list_dd"><h1><?=$v['title']?></h1><div class="author">主讲人:<?=$v['主讲人']?></div><div class="time"><?=$v['nowtime']?></div></dd>
            </dl>
        </a>
    </li>
<?php endforeach;?>
</ul>
</div>
<?php else: ?>
<div style="width:100%;text-align:center;padding-top:150px;color:#999;">会议结束后，7个工作日内上传，敬请关注</div>
<?php endif; ?>
</body>
</html>
<script>
    wx.config({
        debug: false,
        appId: '<?php echo $this->signPackage["appId"];?>',
        timestamp: <?php echo $this->signPackage["timestamp"];?>,
    nonceStr: '<?php echo $this->signPackage["nonceStr"];?>',
            signature: '<?php echo $this->signPackage["signature"];?>',
            jsApiList: [
        'onMenuShareAppMessage',
        'onMenuShareTimeline',
        'onMenuShareQQ',
        'onMenuShareWeibo',
        'onMenuShareQZone'
    ]
    });

    title = "<?=$meet_one->data['name']?>";
    desc = "<?=$meet_one->data['name']?>";
    links = '<?= $meet_detail_url ?>';
    imgUrl = "<?= G_SITE_CDN ?>/<?=$meet_one->data['图片log']?>";
    weixinShare(title, desc, links, imgUrl);

</script>
<?php require 'app/templates/common/foot.html'; ?>